PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFFunctionShading Class / setFunction Method
A 2-in, n-out function, where n is the number of color components in the shading color space.
In This Topic
    setFunction Method
    In This Topic
    Sets the shading function.
    Syntax
    public void setFunction( 
       PDFFunction function
    )

    Parameters

    function
    A 2-in, n-out function, where n is the number of color components in the shading color space.
    Exceptions
    ExceptionDescription
    When function is null.
    See Also